<%@ page contentType="text/html;charset=UTF-8"%>

<div class="rap-page-area" id="rap-page-area-list">
	<div class="col-md-12 col-sm-12 rap-layout-main">
		<div class="row rap-toolbar">
		<shiro:hasPermission name="stwy:lease:contract:create">  
			<button id="rap-btn-add">
				<i class="fa fa-plus"></i> 合同签订
			</button>
		</shiro:hasPermission>
			<button id="rap-btn-remove">
				<i class="fa fa-trash-o"></i> 删除
			</button>
			<button id="rap-btn-refresh">
				<i class="fa fa-refresh"></i> 刷新
			</button>
			<button id="rap-btn-export">
				<i class="fa fa-file-excel-o"></i> 导出
			</button>
			<span class="rap-toolbar-space"></span>
			<shiro:hasPermission name="stwy:lease:contract:quit">  
			<button id="rap-btn-quit">
				<i class="fa fa-reply"></i> 退租
			</button>
			</shiro:hasPermission>
			<shiro:hasPermission name="stwy:lease:contract:cancel">  
			<button id="rap-btn-cancelcontract">
				<i class="fa fa-times"></i> 终止合同
			</button>
			</shiro:hasPermission>
			<shiro:hasPermission name="stwy:lease:contract:renew">  
			<button id="rap-btn-renew">
				<i class="fa fa-plus"></i> 续签
			</button>
			</shiro:hasPermission>
			<button id="rap-btn-hasdeleted">
				<i class="fa fa-search"></i> 已删除客户
			</button>
		</div>
		<div class="row rap-searchbar">
		<!-- 用bootstrap的布局方式在小设备上显示效果好 -->
			<form  id="rap-form-query" class="form-inline">
				<input type='hidden' name='search_EQ_status' value='1'>
				<input type='hidden' name='search_IN_groupOne' class="stwy_search_groupOne">
				<input type='hidden' name='search_IN_groupTwo' class="stwy_search_groupTwo">
				<input type='hidden' name='orderby' value='beginTs@desc'>
				<div class="form-group">
					<label for="search_EQ_contractState">合同状态</label> 
					<select class="rap-input-enumdata" data-enum-group="stwy_contractState"  id="search_EQ_contractState"
						name="search_EQ_contractState" ></select>
				</div>
				<div class="form-group">
					<label for="search_LIKE_contractNum">合同编号</label> 
					<input type="text" class="form-control" id="search_LIKE_contractNum"
						name="search_LIKE_contractNum" autocomplete="on">
				</div>
				<div class="form-group">
					<label for="search_LIKE_custom.theName">承租人</label> 
					<input type="text" class="form-control" id="search_LIKE_custom.theName"
						name="search_LIKE_custom.theName" autocomplete="on">
				</div>
				<div class="form-group">
					<label for="search_GTE_beginDate">生效日期</label> 
					<input type="text" class="rap-input-date" id="search_GTE_beginDate"
						name="search_GTE_beginDate" autocomplete="on">
				</div>
				<!-- <div class="form-group">
					<label for="search_LTE_endDate">失效日期</label> 
					<input type="text" class="rap-input-date" id="search_LTE_endDate"
						name="search_LTE_endDate" autocomplete="on">
				</div> -->
				<div class="form-group rap-searchbar-btn">
					<button type="button" id="rap-btn-quickquery">查询</button>
					<button type="reset">清空</button>
				</div>
			</form>
		</div>
		<div class="row">
	<table id="rap-table-list" class="rap-table rap-table-list">
		<thead>
			<tr>
				<th><label><input type="checkbox"
						class="rap-table-checkbox group-checkable"
						data-set="#rap-table-list .checkboxes" /><span class="lbl"></span></label>
				</th>
				<th>合同编号</th>
				<th>合同变更类型</th>
				<th>承租人</th>
				<th>起效日期</th>
				<th>失效日期</th>
				<th>租赁期限(月)</th>
				<th>支付类型</th>
				<th>租金单价</th>
				<th>初始租金</th>
				<!-- <th>首次付款日期</th>
				<th>租金调价日期</th>
				<th>租金涨幅</th> -->
				<th>租赁保证金</th>
				<!-- <th>是否已备案</th> -->
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
		</tbody>
	</table>
		</div>
	</div>
</div>